{smcl}
{com}{sf}{ul off}{txt}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}C:\Users\tabit\Dropbox\Student RA Folders\Order Paper\Replication\log\summary-balance.smcl
  {txt}log type:  {res}smcl
 {txt}opened on:  {res} 6 Feb 2025, 20:01:42

{com}. do "C:\Users\tabit\AppData\Local\Temp\STDd9d4_000000.tmp"
{txt}
{com}.  version 18
{txt}
{com}.  
.  **************** STUDY 1 **************************
.  cd ".\Study 1"
{res}C:\Users\tabit\Dropbox\Student RA Folders\Order Paper\Replication\Study 1
{txt}
{com}.  
.  import delimited "s1.csv", clear
{res}{txt}(encoding automatically selected: ISO-8859-1)
{res}{text}(14 vars, 885 obs)

{com}.  
.  drop if race != 1
{txt}(4 observations deleted)

{com}.  gen incomeR = (12-income)/11
{txt}
{com}.  gen female = 0
{txt}
{com}.  replace female =1 if gender ==1
{txt}(368 real changes made)

{com}.  gen ageR = (age-18)/65
{txt}
{com}.  gen edR = (ed-1)/5
{txt}
{com}.  gen college = 1 if ed >= 4
{txt}(506 missing values generated)

{com}.  replace college = 0 if ed <4
{txt}(506 real changes made)

{com}.  replace religiosity = "0" if religiosity =="NA"
{txt}(311 real changes made)

{com}.  encode religiosity, gen(nreligiosity)
{txt}
{com}.  gen religR = (nreligiosity)/6
{txt}
{com}.  gen voter = 2- vote_reg
{txt}
{com}.  encode condition, gen(ncondition)
{txt}
{com}.  
.  label var incomeR "Income"
{txt}
{com}.  label var college "College"
{txt}
{com}.  label var female "Female"
{txt}
{com}.  label var pid7 "Party ID"
{txt}
{com}.  label var placement "Placement"
{txt}
{com}.  label var condition "Condition"
{txt}
{com}.  label var ncondition "Condition"
{txt}
{com}.  label var age "Age"
{txt}
{com}.  label var ageR "Age"
{txt}
{com}.  label var voter"Voter"
{txt}
{com}.  label var religR "Religiosity"
{txt}
{com}.  
. 
.  cd "..\Tables"
{res}C:\Users\tabit\Dropbox\Student RA Folders\Order Paper\Replication\Tables
{txt}
{com}. estpost summarize incomeR college age female pid7 voter

{txt}{space 0}{space 0}{ralign 12:}{space 1}{c |}{space 1}{ralign 9:e(count)}{space 1}{space 1}{ralign 9:e(sum_w)}{space 1}{space 1}{ralign 9:e(mean)}{space 1}{space 1}{ralign 9:e(Var)}{space 1}{space 1}{ralign 9:e(sd)}{space 1}
{space 0}{hline 13}{c   +}{hline 11}{hline 11}{hline 11}{hline 11}{hline 11}
{space 0}{space 0}{ralign 12:incomeR}{space 1}{c |}{space 1}{ralign 9:{res:{sf:      881}}}{space 1}{space 1}{ralign 9:{res:{sf:      881}}}{space 1}{space 1}{ralign 9:{res:{sf: .5804355}}}{space 1}{space 1}{ralign 9:{res:{sf: .0789684}}}{space 1}{space 1}{ralign 9:{res:{sf: .2810132}}}{space 1}
{space 0}{space 0}{ralign 12:college}{space 1}{c |}{space 1}{ralign 9:{res:{sf:      881}}}{space 1}{space 1}{ralign 9:{res:{sf:      881}}}{space 1}{space 1}{ralign 9:{res:{sf: .4256527}}}{space 1}{space 1}{ralign 9:{res:{sf: .2447503}}}{space 1}{space 1}{ralign 9:{res:{sf: .4947224}}}{space 1}
{space 0}{space 0}{ralign 12:age}{space 1}{c |}{space 1}{ralign 9:{res:{sf:      881}}}{space 1}{space 1}{ralign 9:{res:{sf:      881}}}{space 1}{space 1}{ralign 9:{res:{sf:  44.5403}}}{space 1}{space 1}{ralign 9:{res:{sf: 276.5487}}}{space 1}{space 1}{ralign 9:{res:{sf: 16.62975}}}{space 1}
{space 0}{space 0}{ralign 12:female}{space 1}{c |}{space 1}{ralign 9:{res:{sf:      881}}}{space 1}{space 1}{ralign 9:{res:{sf:      881}}}{space 1}{space 1}{ralign 9:{res:{sf: .4177072}}}{space 1}{space 1}{ralign 9:{res:{sf: .2435043}}}{space 1}{space 1}{ralign 9:{res:{sf: .4934615}}}{space 1}
{space 0}{space 0}{ralign 12:pid7}{space 1}{c |}{space 1}{ralign 9:{res:{sf:      881}}}{space 1}{space 1}{ralign 9:{res:{sf:      881}}}{space 1}{space 1}{ralign 9:{res:{sf: .5419977}}}{space 1}{space 1}{ralign 9:{res:{sf: .1216559}}}{space 1}{space 1}{ralign 9:{res:{sf: .3487921}}}{space 1}
{space 0}{space 0}{ralign 12:voter}{space 1}{c |}{space 1}{ralign 9:{res:{sf:      881}}}{space 1}{space 1}{ralign 9:{res:{sf:      881}}}{space 1}{space 1}{ralign 9:{res:{sf: .8263337}}}{space 1}{space 1}{ralign 9:{res:{sf: .1436694}}}{space 1}{space 1}{ralign 9:{res:{sf: .3790374}}}{space 1}

{space 0}{space 0}{ralign 12:}{space 1}{c |}{space 1}{ralign 9:e(min)}{space 1}{space 1}{ralign 9:e(max)}{space 1}{space 1}{ralign 9:e(sum)}{space 1}
{space 0}{hline 13}{c   +}{hline 11}{hline 11}{hline 11}
{space 0}{space 0}{ralign 12:incomeR}{space 1}{c |}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}{space 1}{ralign 9:{res:{sf: 511.3636}}}{space 1}
{space 0}{space 0}{ralign 12:college}{space 1}{c |}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}{space 1}{ralign 9:{res:{sf:      375}}}{space 1}
{space 0}{space 0}{ralign 12:age}{space 1}{c |}{space 1}{ralign 9:{res:{sf:       18}}}{space 1}{space 1}{ralign 9:{res:{sf:       83}}}{space 1}{space 1}{ralign 9:{res:{sf:    39240}}}{space 1}
{space 0}{space 0}{ralign 12:female}{space 1}{c |}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}{space 1}{ralign 9:{res:{sf:      368}}}{space 1}
{space 0}{space 0}{ralign 12:pid7}{space 1}{c |}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}{space 1}{ralign 9:{res:{sf:    477.5}}}{space 1}
{space 0}{space 0}{ralign 12:voter}{space 1}{c |}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}{space 1}{ralign 9:{res:{sf:      728}}}{space 1}

{com}. esttab using summary_s1.tex, cells("count mean sd min max") label noobs replace 
{res}{txt}(output written to {browse  `"summary_s1.tex"'})

{com}. 
. orth_out incomeR college ageR female pid7 voter using balance_s1.tex, by(ncondition) se pcompare latex replace
{res}
{txt}                Post Femi~t:  Post Nati~t:  Pre Femin~t:  Pre Natio~t:
                          _             _             _             _
  Income:mean {res}        0.589         0.566         0.591         0.576
{txt}           se {res}        0.019         0.019         0.019         0.019
{txt} College:mean {res}        0.449         0.475         0.390         0.381
{txt}           se {res}        0.033         0.033         0.033         0.034
{txt}     Age:mean {res}        0.419         0.426         0.397         0.388
{txt}           se {res}        0.017         0.017         0.017         0.018
{txt}  Female:mean {res}        0.431         0.475         0.372         0.386
{txt}           se {res}        0.033         0.033         0.033         0.034
{txt}Party ID:mean {res}        0.560         0.497         0.567         0.547
{txt}           se {res}        0.023         0.023         0.024         0.024
{txt}   Voter:mean {res}        0.822         0.818         0.835         0.832
{txt}           se {res}        0.026         0.025         0.025         0.026

{txt}                (1) vs. (~e:  (1) vs. (~e:  (1) vs. (~e:  (2) vs. (~e:
                          _             _             _             _
  Income:mean {res}        0.402         0.921         0.633         0.357
{txt}           se {res}            .             .             .             .
{txt} College:mean {res}        0.581         0.209         0.157         0.069
{txt}           se {res}            .             .             .             .
{txt}     Age:mean {res}        0.747         0.368         0.218         0.218
{txt}           se {res}            .             .             .             .
{txt}  Female:mean {res}        0.350         0.202         0.347         0.027
{txt}           se {res}            .             .             .             .
{txt}Party ID:mean {res}        0.053         0.826         0.699         0.034
{txt}           se {res}            .             .             .             .
{txt}   Voter:mean {res}        0.902         0.725         0.797         0.633
{txt}           se {res}            .             .             .             .

{txt}                (2) vs. (~e:  (3) vs. (~e:
                          _             _
  Income:mean {res}        0.717         0.569
{txt}           se {res}            .             .
{txt} College:mean {res}        0.049         0.855
{txt}           se {res}            .             .
{txt}     Age:mean {res}        0.119         0.732
{txt}           se {res}            .             .
{txt}  Female:mean {res}        0.063         0.759
{txt}           se {res}            .             .
{txt}Party ID:mean {res}        0.137         0.553
{txt}           se {res}            .             .
{txt}   Voter:mean {res}        0.704         0.931
{txt}           se {res}            .             .
{reset}
{com}. 
. 
. ********************* STUDY 2 *****************************
. cd "..\Study 2"
{res}C:\Users\tabit\Dropbox\Student RA Folders\Order Paper\Replication\Study 2
{txt}
{com}. 
.  import delimited "s2.csv", clear
{res}{txt}(encoding automatically selected: ISO-8859-1)
{res}{text}(15 vars, 5,937 obs)

{com}.  
.  encode income, gen(nincome)
{txt}
{com}.  gen incomeR = 2-nincome
{txt}
{com}.  encode gender, gen(ngender)
{txt}
{com}.  gen female = 2-ngender
{txt}
{com}.  encode age, gen(nage)
{txt}
{com}.  gen ageR = (nage-1)/3
{txt}
{com}.  encode education, gen(neducation)
{txt}
{com}.  gen college = neducation
{txt}
{com}.  replace college = 0 if neducation !=1
{txt}(4,472 real changes made)

{com}.  *gen voter = 2- vote_reg
.  encode placement, gen(nplacement)
{txt}
{com}.  replace pid5 = "." if pid5=="NA"
{txt}(419 real changes made)

{com}.  encode pid5, gen(pidR)
{txt}
{com}.  
.  label var incomeR "Income"
{txt}
{com}.  label var college "College"
{txt}
{com}.  label var female "Female"
{txt}
{com}.  label var pidR "Party ID"
{txt}
{com}.  label var nplacement "Condition"
{txt}
{com}.  label var ageR "Age"
{txt}
{com}. * label var voter"Voter"
. 
.  sort respondent
{txt}
{com}.  by respondent: gen dup = cond(_N==1,0,_n)
{txt}
{com}.  drop if dup>1
{txt}(5,344 observations deleted)

{com}.  
. 
.  cd "..\Tables"
{res}C:\Users\tabit\Dropbox\Student RA Folders\Order Paper\Replication\Tables
{txt}
{com}. estpost summarize incomeR college ageR female pidR

{txt}{space 0}{space 0}{ralign 12:}{space 1}{c |}{space 1}{ralign 9:e(count)}{space 1}{space 1}{ralign 9:e(sum_w)}{space 1}{space 1}{ralign 9:e(mean)}{space 1}{space 1}{ralign 9:e(Var)}{space 1}{space 1}{ralign 9:e(sd)}{space 1}
{space 0}{hline 13}{c   +}{hline 11}{hline 11}{hline 11}{hline 11}{hline 11}
{space 0}{space 0}{ralign 12:incomeR}{space 1}{c |}{space 1}{ralign 9:{res:{sf:      593}}}{space 1}{space 1}{ralign 9:{res:{sf:      593}}}{space 1}{space 1}{ralign 9:{res:{sf: .5885329}}}{space 1}{space 1}{ralign 9:{res:{sf:  .242571}}}{space 1}{space 1}{ralign 9:{res:{sf:  .492515}}}{space 1}
{space 0}{space 0}{ralign 12:college}{space 1}{c |}{space 1}{ralign 9:{res:{sf:      593}}}{space 1}{space 1}{ralign 9:{res:{sf:      593}}}{space 1}{space 1}{ralign 9:{res:{sf: .2596965}}}{space 1}{space 1}{ralign 9:{res:{sf:  .192579}}}{space 1}{space 1}{ralign 9:{res:{sf: .4388382}}}{space 1}
{space 0}{space 0}{ralign 12:ageR}{space 1}{c |}{space 1}{ralign 9:{res:{sf:      593}}}{space 1}{space 1}{ralign 9:{res:{sf:      593}}}{space 1}{space 1}{ralign 9:{res:{sf: .4013491}}}{space 1}{space 1}{ralign 9:{res:{sf:  .125809}}}{space 1}{space 1}{ralign 9:{res:{sf: .3546956}}}{space 1}
{space 0}{space 0}{ralign 12:female}{space 1}{c |}{space 1}{ralign 9:{res:{sf:      593}}}{space 1}{space 1}{ralign 9:{res:{sf:      593}}}{space 1}{space 1}{ralign 9:{res:{sf: .5075885}}}{space 1}{space 1}{ralign 9:{res:{sf: .2503646}}}{space 1}{space 1}{ralign 9:{res:{sf: .5003645}}}{space 1}
{space 0}{space 0}{ralign 12:pidR}{space 1}{c |}{space 1}{ralign 9:{res:{sf:      593}}}{space 1}{space 1}{ralign 9:{res:{sf:      593}}}{space 1}{space 1}{ralign 9:{res:{sf: 3.608769}}}{space 1}{space 1}{ralign 9:{res:{sf: 2.015599}}}{space 1}{space 1}{ralign 9:{res:{sf: 1.419718}}}{space 1}

{space 0}{space 0}{ralign 12:}{space 1}{c |}{space 1}{ralign 9:e(min)}{space 1}{space 1}{ralign 9:e(max)}{space 1}{space 1}{ralign 9:e(sum)}{space 1}
{space 0}{hline 13}{c   +}{hline 11}{hline 11}{hline 11}
{space 0}{space 0}{ralign 12:incomeR}{space 1}{c |}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}{space 1}{ralign 9:{res:{sf:      349}}}{space 1}
{space 0}{space 0}{ralign 12:college}{space 1}{c |}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}{space 1}{ralign 9:{res:{sf:      154}}}{space 1}
{space 0}{space 0}{ralign 12:ageR}{space 1}{c |}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}{space 1}{ralign 9:{res:{sf:      238}}}{space 1}
{space 0}{space 0}{ralign 12:female}{space 1}{c |}{space 1}{ralign 9:{res:{sf:        0}}}{space 1}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}{space 1}{ralign 9:{res:{sf:      301}}}{space 1}
{space 0}{space 0}{ralign 12:pidR}{space 1}{c |}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}{space 1}{ralign 9:{res:{sf:        6}}}{space 1}{space 1}{ralign 9:{res:{sf:     2140}}}{space 1}

{com}. esttab using summary_s2.tex, cells("count mean sd min max") label noobs replace 
{res}{txt}(output written to {browse  `"summary_s2.tex"'})

{com}. 
. orth_out incomeR college ageR female pidR using balance_s2.tex, by(nplacement) se pcompare latex replace
{res}
{txt}                       Post:          Pre:     Two-wave:  (1) vs. (~e:
                          _             _             _             _
  Income:mean {res}        0.541         0.574         0.654         0.518
{txt}           se {res}        0.035         0.035         0.034             .
{txt} College:mean {res}        0.244         0.289         0.246         0.304
{txt}           se {res}        0.030         0.032         0.031             .
{txt}     Age:mean {res}        0.392         0.408         0.405         0.648
{txt}           se {res}        0.024         0.025         0.027             .
{txt}  Female:mean {res}        0.507         0.508         0.508         0.995
{txt}           se {res}        0.035         0.036         0.036             .
{txt}Party ID:mean {res}        3.522         3.624         3.686         0.450
{txt}           se {res}        0.100         0.090         0.112             .

{txt}                (1) vs. (~e:  (2) vs. (~e:
                          _             _
  Income:mean {res}        0.022         0.103
{txt}           se {res}            .             .
{txt} College:mean {res}        0.960         0.337
{txt}           se {res}            .             .
{txt}     Age:mean {res}        0.718         0.936
{txt}           se {res}            .             .
{txt}  Female:mean {res}        0.992         0.996
{txt}           se {res}            .             .
{txt}Party ID:mean {res}        0.275         0.668
{txt}           se {res}            .             .
{reset}
{com}. 
. 
. ********************* STUDY 2 *****************************
. cd "..\Study 4"
{res}C:\Users\tabit\Dropbox\Student RA Folders\Order Paper\Replication\Study 4
{txt}
{com}. 
.  import delimited "s4_dat.csv", clear
{res}{txt}(encoding automatically selected: ISO-8859-1)
{res}{text}(13 vars, 9,987 obs)

{com}.  
.  sort subject
{txt}
{com}.  by subject: gen dup = cond(_N==1,0,_n)
{txt}
{com}.  drop if dup>1
{txt}(9,553 observations deleted)

{com}.  drop female
{txt}
{com}.  
. replace gender = "." if gender =="NA"
{txt}(28 real changes made)

{com}. encode gender, gen(female)
{txt}
{com}. replace partyid = "." if partyid=="NA"
{txt}(22 real changes made)

{com}. encode partyid, gen(pid)
{txt}
{com}. replace age_response = "." if age_response =="NA"
{txt}(40 real changes made)

{com}. encode age_response, gen(age_response2)
{txt}
{com}. replace age2 = "." if age2=="NA"
{txt}(40 real changes made)

{com}. encode age2, gen(ageR)
{txt}
{com}. 
. replace income_response = "." if income_response=="NA"
{txt}(40 real changes made)

{com}. encode income_response, gen(incomeR)
{txt}
{com}. encode election_condition, gen(condition)
{txt}
{com}. 
. replace ideology ="." if ideology=="NA"
{txt}(22 real changes made)

{com}. encode ideology, gen(ideologyR)
{txt}
{com}. 
.  label var incomeR "Income"
{txt}
{com}.  label var female "Female"
{txt}
{com}.  label var pid "Party ID"
{txt}
{com}.  label var condition "Condition"
{txt}
{com}.  label var ageR "Age"
{txt}
{com}.  label var age_response2 "Age"
{txt}
{com}.  label var ideologyR "Ideology"
{txt}
{com}.  
.   cd "..\Tables"
{res}C:\Users\tabit\Dropbox\Student RA Folders\Order Paper\Replication\Tables
{txt}
{com}.  estpost summarize incomeR age_response2 female pid ideologyR

{txt}{space 0}{space 0}{ralign 12:}{space 1}{c |}{space 1}{ralign 9:e(count)}{space 1}{space 1}{ralign 9:e(sum_w)}{space 1}{space 1}{ralign 9:e(mean)}{space 1}{space 1}{ralign 9:e(Var)}{space 1}{space 1}{ralign 9:e(sd)}{space 1}
{space 0}{hline 13}{c   +}{hline 11}{hline 11}{hline 11}{hline 11}{hline 11}
{space 0}{space 0}{ralign 12:incomeR}{space 1}{c |}{space 1}{ralign 9:{res:{sf:      434}}}{space 1}{space 1}{ralign 9:{res:{sf:      434}}}{space 1}{space 1}{ralign 9:{res:{sf:  5.33871}}}{space 1}{space 1}{ralign 9:{res:{sf:  5.06053}}}{space 1}{space 1}{ralign 9:{res:{sf: 2.249562}}}{space 1}
{space 0}{space 0}{ralign 12:age_respon~2}{space 1}{c |}{space 1}{ralign 9:{res:{sf:      434}}}{space 1}{space 1}{ralign 9:{res:{sf:      434}}}{space 1}{space 1}{ralign 9:{res:{sf: 27.87327}}}{space 1}{space 1}{ralign 9:{res:{sf: 229.8661}}}{space 1}{space 1}{ralign 9:{res:{sf: 15.16134}}}{space 1}
{space 0}{space 0}{ralign 12:female}{space 1}{c |}{space 1}{ralign 9:{res:{sf:      434}}}{space 1}{space 1}{ralign 9:{res:{sf:      434}}}{space 1}{space 1}{ralign 9:{res:{sf: 39.36175}}}{space 1}{space 1}{ralign 9:{res:{sf: 338.6841}}}{space 1}{space 1}{ralign 9:{res:{sf: 18.40337}}}{space 1}
{space 0}{space 0}{ralign 12:pid}{space 1}{c |}{space 1}{ralign 9:{res:{sf:      434}}}{space 1}{space 1}{ralign 9:{res:{sf:      434}}}{space 1}{space 1}{ralign 9:{res:{sf:  4.66129}}}{space 1}{space 1}{ralign 9:{res:{sf: 4.820346}}}{space 1}{space 1}{ralign 9:{res:{sf: 2.195529}}}{space 1}
{space 0}{space 0}{ralign 12:ideologyR}{space 1}{c |}{space 1}{ralign 9:{res:{sf:      434}}}{space 1}{space 1}{ralign 9:{res:{sf:      434}}}{space 1}{space 1}{ralign 9:{res:{sf: 5.186636}}}{space 1}{space 1}{ralign 9:{res:{sf:  3.94892}}}{space 1}{space 1}{ralign 9:{res:{sf: 1.987189}}}{space 1}

{space 0}{space 0}{ralign 12:}{space 1}{c |}{space 1}{ralign 9:e(min)}{space 1}{space 1}{ralign 9:e(max)}{space 1}{space 1}{ralign 9:e(sum)}{space 1}
{space 0}{hline 13}{c   +}{hline 11}{hline 11}{hline 11}
{space 0}{space 0}{ralign 12:incomeR}{space 1}{c |}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}{space 1}{ralign 9:{res:{sf:       11}}}{space 1}{space 1}{ralign 9:{res:{sf:     2317}}}{space 1}
{space 0}{space 0}{ralign 12:age_respon~2}{space 1}{c |}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}{space 1}{ralign 9:{res:{sf:       62}}}{space 1}{space 1}{ralign 9:{res:{sf:    12097}}}{space 1}
{space 0}{space 0}{ralign 12:female}{space 1}{c |}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}{space 1}{ralign 9:{res:{sf:       78}}}{space 1}{space 1}{ralign 9:{res:{sf:    17083}}}{space 1}
{space 0}{space 0}{ralign 12:pid}{space 1}{c |}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}{space 1}{ralign 9:{res:{sf:        8}}}{space 1}{space 1}{ralign 9:{res:{sf:     2023}}}{space 1}
{space 0}{space 0}{ralign 12:ideologyR}{space 1}{c |}{space 1}{ralign 9:{res:{sf:        1}}}{space 1}{space 1}{ralign 9:{res:{sf:        8}}}{space 1}{space 1}{ralign 9:{res:{sf:     2251}}}{space 1}

{com}.  esttab using summary_s4.tex, cells("count mean sd min max") label noobs replace 
{res}{txt}(output written to {browse  `"summary_s4.tex"'})

{com}. 
.  orth_out incomeR ageR female pid ideologyR using balance_s4.tex, by(condition) se pcompare latex replace
{res}
{txt}                 bothstrong:     demodist:  femalestr~g:     malemale:
                          _             _             _             _
  Income:mean {res}        6.000         5.640         5.459         5.282
{txt}           se {res}        0.195         0.309         0.190         0.375
{txt}     Age:mean {res}       29.081        29.940        29.705        28.974
{txt}           se {res}        1.340         2.080         1.304         2.354
{txt}  Female:mean {res}       42.535        41.600        38.566        38.308
{txt}           se {res}        1.703         2.286         1.680         2.428
{txt}Party ID:mean {res}        5.263         4.460         4.533         5.154
{txt}           se {res}        0.215         0.309         0.194         0.311
{txt}Ideology:mean {res}        5.758         5.000         5.254         5.333
{txt}           se {res}        0.182         0.265         0.172         0.230

{txt}                 malestrong:  (1) vs. (~e:  (1) vs. (~e:  (1) vs. (~e:
                          _             _             _             _
  Income:mean {res}        5.363         0.307         0.050         0.068
{txt}           se {res}        0.193             .             .             .
{txt}     Age:mean {res}       28.873         0.720         0.741         0.967
{txt}           se {res}        1.441             .             .             .
{txt}  Female:mean {res}       43.451         0.747         0.102         0.177
{txt}           se {res}        1.488             .             .             .
{txt}Party ID:mean {res}        4.696         0.034         0.013         0.783
{txt}           se {res}        0.193             .             .             .
{txt}Ideology:mean {res}        5.324         0.018         0.047         0.192
{txt}           se {res}        0.180             .             .             .

{txt}                (1) vs. (~e:  (2) vs. (~e:  (2) vs. (~e:  (2) vs. (~e:
                          _             _             _             _
  Income:mean {res}        0.021         0.612         0.459         0.430
{txt}           se {res}            .             .             .             .
{txt}     Age:mean {res}        0.916         0.923         0.759         0.673
{txt}           se {res}            .             .             .             .
{txt}  Female:mean {res}        0.685         0.314         0.330         0.488
{txt}           se {res}            .             .             .             .
{txt}Party ID:mean {res}        0.051         0.841         0.123         0.502
{txt}           se {res}            .             .             .             .
{txt}Ideology:mean {res}        0.091         0.425         0.361         0.309
{txt}           se {res}            .             .             .             .

{txt}                (3) vs. (~e:  (3) vs. (~e:  (4) vs. (~e:
                          _             _             _
  Income:mean {res}        0.656         0.724         0.836
{txt}           se {res}            .             .             .
{txt}     Age:mean {res}        0.784         0.669         0.970
{txt}           se {res}            .             .             .
{txt}  Female:mean {res}        0.937         0.034         0.072
{txt}           se {res}            .             .             .
{txt}Party ID:mean {res}        0.110         0.555         0.214
{txt}           se {res}            .             .             .
{txt}Ideology:mean {res}        0.811         0.782         0.976
{txt}           se {res}            .             .             .
{reset}
{com}. 
. 
. 
{txt}end of do-file

{com}. log close
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}C:\Users\tabit\Dropbox\Student RA Folders\Order Paper\Replication\log\summary-balance.smcl
  {txt}log type:  {res}smcl
 {txt}closed on:  {res} 6 Feb 2025, 20:01:54
{txt}{.-}
{smcl}
{txt}{sf}{ul off}